package com.grts.service;

import java.util.List;

import com.grts.pojo.Teacher;
import com.grts.utils.PageModel;

public interface Teacherservice {
	Teacher selectByPrimaryKey(Integer tid);
	List<Teacher> queryall(Teacher record);
	 int deleteByPrimaryKey(Integer tid);
    int insert(Teacher record);
    int insertSelective(Teacher record);
    int updateByPrimaryKeySelective(Teacher record);
    int updateByPrimaryKey(Teacher record);
    PageModel queryPageModel(Teacher t, int currentPage, int pageSize);
}
